package com.yicong.ants.view.dialog;

import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.widget.LinearLayoutCompat;
import androidx.databinding.DataBindingUtil;


import com.google.android.material.bottomsheet.BottomSheetDialog;
import com.google.android.material.bottomsheet.BottomSheetDialogFragment;
import com.yicong.ants.R;
import com.yicong.ants.databinding.DialogShareLayoutBinding;

import org.jetbrains.annotations.NotNull;

/**
 * Description :
 *
 * @author ZhJiao
 * @date 2021/9/9
 */
public class ShareDialog extends BottomSheetDialog {
    private Context context;
    private View rootView;
    private LinearLayout wx;
    private LinearLayout wxCircle;
    private LinearLayout yChat;
    LayoutInflater inflater;

    public ShareDialog(@NonNull @NotNull Context context) {
        super(context);
        this.context = context;
        initView();
    }

    public ShareDialog(@NonNull @NotNull Context context, int theme) {
        super(context, theme);
    }


    private void initView() {
        DialogShareLayoutBinding mBind = DataBindingUtil.inflate(inflater, R.layout.dialog_share_layout, null, false);
        setContentView(mBind.getRoot());
        this.show();

    }

}
